package com.mwh.yuantu.dao.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mwh.yuantu.entity.EmailInfoEntity;
import org.apache.ibatis.annotations.Param;

/**
 * (EmailInfo)表数据库访问层
 *
 * @author maweihong
 * @since 2023-11-01 09:47:30
 */
public interface EmailInfoMapper extends BaseMapper<EmailInfoEntity> {

    List<EmailInfoEntity> list();

    int insert(EmailInfoEntity emailInfo);

    int update(EmailInfoEntity emailInfo);

    int delete(@Param("idArr") String[] idArr);

    /**
     * 根据主键查询记录信息
     * @param id 主键
     * @return
     */
    EmailInfoEntity selectById(String id);
}
